Parsing and Validation of full CSP-M Specifications using Haskell and Prolog (Abstract)

نویسندگان

  • Marc Fontaine
  • Michael Leuschel
چکیده

CSP is a process algebra defined by Hoare. The first semantics associated with CSP was a denotational semantics in terms of traces, failures and divergences. Later an operational semantics was added [7]. CSP has been applied in many applications, notably for security protocols [6]. The most widely used tools today are fdr [2] and ProBE [3]. These tools use a syntax called machine readable CSP (CSP-M) which is the combination of Core-CSP with a rudimentary functional language. In earlier work we presented CIA [4] a CSP parser and interpreter that supported full Core-CSP and some of the CSP-M extensions. CIA is written in Prolog which made it easy to integrate into the ProB animator and model checker [5], making it the first tool for model-checking combined CSP and B specifications [1]. Our new work is motivated by an industrial application which demands support for full CSP-M syntax, linked with B specifications. Furthermore, an important requirement of our industrial partner was compatibility with the FDR and Probe tools, while at the same time fixing some shortcomings (e.g., the fact that the main process as well as all of its subprocesses in isolation have to be finite state) and obvious bugs of those tools. This is challenging as the semantics of CSP-M is more or less implicitly defined by its implementations in FDR and ProBe. Although, Scattergood [8] describes a formal semantics of CSP-M, there still is a considerable gap between this formal semantics and what is implemented in FDR and ProBE. Other motivations for our re-implementation of CSP-M are for example the desire to:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Typed Logical Variables in Haskell

We describe how to embed a simple typed functional logic programming language in Haskell. The embedding is a natural extension of the Prolog embedding by Seres and Spivey [16]. To get full static typing we need to use the Haskell extensions of quantified types and the ST-monad.

متن کامل

Probing the Depths of CSP-M: A New fdr-Compliant Validation Tool

We present a new animation and model checking tool for CSP. The tool covers the CSP-M language, as supported by existing tools such as fdr and probe. Compared to those tools, it provides visual feedback in the source code, has an LTL model checker and can be used for combined CSP ‖ B specifications. During the development of the tool some intricate issues were uncovered with the CSP-M language....

متن کامل

HASDF: A Generalized LR-parser Generator for Haskell

Language-centered software engineering requires language technology that (i) handles the full class of context-free grammars, and (ii) accepts grammars that contain syntactic information only. The syntax definition formalism SDF combined with GLR-parser generation offers such technology. We propose to make SDF and GLR-parsing available for use with various programming languages. We have done so...

متن کامل

Synthesis of Mealy Machines Using Derivatives

In Rutten [13] the theoretical basis was given for the synthesis of binary Mealy machines from specifications in 2-adic arithmetic. This construction is based on the symbolic computation of the coalgebraic notion of stream function derivative, a generalisation of the Brzozowski derivative of regular expressions. In this paper we complete the construction of Mealy machines from specifications in...

متن کامل

Grammar-centered Development of VDM Support

Starting from the ISO language reference, we have developed an industrial strength grammar for the VDM specification language. We summarize both the development process and its result. The employed methodology can be described as iterative grammar engineering and includes application of techniques such as grammar metrication, unit testing, and test coverage analysis. The result is a VDM grammar...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007